import request from '@/router/axios';
import { baseUrl } from '@/config/env';


export const list = () => request({
    url: baseUrl + '/admin/route/list',
    method: 'get'
})

export const update = (data) => request({
    url: baseUrl + '/admin/route/update',
    method: 'post',
    data: data
});